<?php
namespace app\admin\validate;
use think\Validate;
class Shop extends Validate
{
    protected $rule =   [
        'mobile'  => 'require|unique:shop',
        'mobile' => 'min:11',    
    ];
    
    protected $message  =   [
        'mobile.require' => '品牌名称必须',
        'mobile.unique'     => '品牌名称不能重复',
        'mobile.min'  => '描述最少11个字符',
    ];


}